package com.pig4cloud.pig.module.api.entity.mer;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 会员赠品对象 mer_self_vip_gift
 *
 * @author ruoyi
 * @date 2023-06-09
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mer_self_vip_gift")
public class MerSelfVipGift implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 商家id
     */
    private Long merId;
    @TableField(exist = false)
    private String merName;

    /**
     * 会员id
     */
    private Long merVipId;
    @TableField(exist = false)
    private String merVipName;

    /**
     * 赠送的菜品id
     */
    private Long productId;
    @TableField(exist = false)
    private String productName;

    /**
     * 赠送数量
     */
    private Long count;

    /**
     * 备注信息
     */
    private String remark;

    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
